package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 渠道用户地址
 * @author Rongjie
 */
@Data
@TableName("mall_customer_address")
@KeySequence(value = "mall_customer_address_SEQ")
@ApiModel(value = "MallCustomerAddress对象")
public class MallCustomerAddress implements Serializable{

       @ApiModelProperty(value = "应用KEY")
       private String appKey;

       @TableId(value = "customer_address_key", type = IdType.UUID)
       @ApiModelProperty(value = "地址KEY")
       private String customerAddressKey;

       @ApiModelProperty(value = "用户KEY")
       private String customerKey;

       @ApiModelProperty(value = "收货人")
       private String name;

       @ApiModelProperty(value = "省")
       private String province;

       @ApiModelProperty(value = "市")
       private String city;

       @ApiModelProperty(value = "区")
       private String district;

       @ApiModelProperty(value = "详细地址")
       private String address;

       @ApiModelProperty(value = "邮编")
       private String zipCode;

       @ApiModelProperty(value = "联系电话")
       private String contactPhone;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
